package org.yzh.web.mapper;

import org.springframework.stereotype.Repository;
import org.yzh.web.model.entity.AlarmMessageDO;
import org.yzh.web.model.vo.*;

import java.util.List;
import java.util.Map;

/**
 * @author lsj
 * @date 2021/1/15 11:30
 */
@Repository
public interface AlarmMessageMapper {

    List<AlarmMessage> find(AlarmMessageQuery query);

    int batchInsert(List<AlarmMessageDO> records);

    List<AlarmGroup> findAlarmCountTotal(DateTimeQuery query);
}
